package com.example.AIstudy.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.AIstudy.domain.Liked;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface LikedDao extends BaseMapper<Liked> {

    @Select("SELECT prosetID FROM liked where userID=#{userID}")
    List<Integer> getlikeList(int userID);

}
